<!-- 菜单管理首页 -->
<template>
    <IPanel>
        <SearchForm :searchForm="searchForm" @reset="reset">
            <FormItem label="姓名:" prop="name">
                <el-input v-model="searchForm.name" placeholder="请输入"></el-input>
            </FormItem>
            <FormItem label="员工编码:" prop="employeeCode">
                <el-input v-model="searchForm.employeeCode" placeholder="请输入"></el-input>
            </FormItem>
            <FormItem label='本科院校:' prop='school'>
                <el-input v-model="searchForm.school" placeholder="请输入"></el-input>
            </FormItem>
            <FormItem label='性别:' prop='sex'>
                <el-input v-model="searchForm.sex" placeholder="请输入"></el-input>
            </FormItem>
            <FormItem label='身份证号码:' prop='idNumber'>
                <el-input v-model="searchForm.idNumber" placeholder="请输入"></el-input>
            </FormItem>
            <FormItem label='所属组织:' prop='org'>
                <el-input v-model="searchForm.org" placeholder="请输入"></el-input>
            </FormItem>
        </SearchForm>
    </IPanel>
  <!-- <div>
    <SearchForm>
        <FormItem label='姓名:' prop='name' width="30%">
            <el-input></el-input>
        </FormItem>
        <FormItem label='员工编码:' prop='emplyeeCode' width="30%">
            <el-input></el-input>
        </FormItem>
        <FormItem label='本科院校:' prop='school' width="30%">
            <el-input></el-input>
        </FormItem>
    </SearchForm>
  </div> -->
</template>


<script setup>
import {ref} from 'vue'
import SearchForm from '@/components/i-form-search/index.vue'
import FormItem from '@/components/i-form-item/index.vue'
import IPanel from '@/components/i-panel/index.vue'
const searchForm = ref({
    name: '',
    age: '',
    employeeCode: '',
    school: '',
    sex: '',
    idNumber: '',
    org: ''
})
const reset = (parmas) => {
    console.log('parmas=',parmas)
    searchForm.value = {}
}
</script>
<style lang='less' scoped>
</style>